#include <iostream>
#include <ctime>
#include <cstdlib>

int maxn = 2;

int main()
{
	int T = 4;
	std::cout << T << '\n';
	while (T--) {
		int n = std::rand() % maxn + 1;
		std::cout << n << '\n';
		for (int i = 0; i < n; i++)
			std::cout << char(rand() % 26 + 'a');
		std::cout << '\n';
	}
}

